home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / bbsdoors / yvc200.zip / YVC.DOC < prev    next >
Text File  |  1993-04-30  |  21KB  |  505 lines

  1.  
  2.  
  3.  ▀▀    ▀▀   ▀▀▀▀▀   ▀▀   ▀▀ ▀▀▀▀▀▀
  4.   ▀▀  ▀▀   ▀▀   ▀▀  ▀▀   ▀▀ ▀▀   ▀▀
  5.    ▀▀▀▀   ▀▀▀   ▀▀▀ ▀▀   ▀▀ ▀▀▀▀▀▀                       Version 2.00
  6.     ▀▀     ▀▀   ▀▀  ▀▀   ▀▀ ▀▀  ▀▀                        (c) Copyright 1993
  7.     ▀▀      ▀▀▀▀▀    ▀▀▀▀▀  ▀▀   ▀▀                         By Tony Bonillo
  8.  
  9.      ▀▀     ▀▀   ▀▀▀▀▀   ▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀
  10.       ▀▀   ▀▀   ▀▀   ▀▀     ▀▀    ▀▀
  11.        ▀▀ ▀▀   ▀▀▀   ▀▀▀    ▀▀    ▀▀▀▀▀
  12.         ▀▀▀     ▀▀   ▀▀     ▀▀    ▀▀
  13.          ▀       ▀▀▀▀▀      ▀▀    ▀▀▀▀▀▀▀
  14.  
  15.            ▀▀▀▀▀    ▀▀▀▀▀   ▀▀   ▀▀ ▀▀▀   ▀▀ ▀▀▀▀▀▀▀▀  ▀▀▀▀▀
  16.           ▀▀   ▀▀  ▀▀   ▀▀  ▀▀   ▀▀ ▀▀▀▀  ▀▀    ▀▀    ▀▀
  17.          ▀▀▀      ▀▀▀   ▀▀▀ ▀▀   ▀▀ ▀▀ ▀▀ ▀▀    ▀▀     ▀▀▀▀▀
  18.           ▀▀   ▀▀  ▀▀   ▀▀  ▀▀   ▀▀ ▀▀  ▀▀▀▀    ▀▀         ▀▀
  19.            ▀▀▀▀▀    ▀▀▀▀▀    ▀▀▀▀▀  ▀▀   ▀▀▀    ▀▀    ▀▀▀▀▀▀
  20.  
  21.  
  22.  
  23.  
  24.  
  25. TABLE OF CONTENTS
  26.  
  27.     - Introduction
  28.     - Disclaimer
  29.     - Archive Contents
  30.     - Setting up YVC
  31.     - Configuration File
  32.     - Command Line Options
  33.     - Problem Users
  34.     - Status Line/Function Keys
  35.     - The Log File
  36.     - Errors
  37.     - How the Door Works: A Quick Synopsis
  38.     - Support
  39.  
  40.  
  41. INTRODUCTION
  42.  
  43.     "Your Vote Counts" is an online program (door) that allows users of BBS
  44.     systems to cast their vote on polls set up by the system operator and
  45.     by other users.
  46.  
  47.     Results of the polls are categorized by age and gender and a user may
  48.     look for results of a poll based on these criteria.
  49.  
  50.     "Your Vote Counts" was created using Intelligent Communications
  51.     Xchange's (with whom I am associated) Modem/Fossil toolkit, so THIS
  52.     DOOR REQUIRES A FOSSIL DRIVER.  The most popular fossil drivers are X00
  53.     and BNU, which are available on most boards that carry communications-
  54.     related files.
  55.  
  56.     "Your Vote Counts" was marketed under the Shareware concept.  You are
  57.     legally obligated to purchase this door after continuing its use beyond a
  58.     certain number of days.  For this door, the number of days you are allowed
  59.     is twenty-one (21).  After this period, the door must be paid for or must
  60.     no longer be used. See ORDER.FRM for the price and details for payment
  61.     (sorry, I hate cross-references too, but ..).  This door has some features
  62.     that will not be activated until it is registered.  I don't like to call
  63.     it CrippleWare, though.  The door will be completely usable unregistered,
  64.     just some of the extended features won't be available.  The features
  65.     not available are: users' ability to add polls, bulletin creation, and
  66.     multiple poll files.  That's it.
  67.  
  68.  
  69. DISCLAIMER
  70.  
  71.     Use this door at your own risk.  It has been tested, but with the
  72.     thousands of different system configurations there's always a
  73.     possibility that something could happen.  Tony Bonillo is not
  74.     responsible for any damages brought on your system by use or misuse of
  75.     this program.
  76.  
  77.     You may copy this program for backup purposes only.  You may also
  78.     distribute unmodified copies of this program as long as the copyright
  79.     notice is reproduced on all copies, and all files contained in the
  80.     original archive are included with each copy.
  81.  
  82.  
  83. ARCHIVE CONTENTS
  84.  
  85.    The following files must be located in the archive you receive:
  86.  
  87.    YVC.DOC       This documentation
  88.    YVC.EXE       Executable File - main program
  89.    YVC.HST       History of releases and what's new in latest version
  90.    YVCLOAD.BAT   Sample batch file to load YVC.
  91.    DOBULLS.BAT   Sample batch file to create bulletins
  92.    YVC.POL       Sample Poll File
  93.    YVC.CFG       Sample Configuration File
  94.    ORDER.FRM     Registration information and form
  95.    README.1ST    You should already know if you read it first!
  96.    100TO200.EXE  Version 1.00 to 2.00 Conversion Utility
  97.    100TO200.DOC  Version 1.00 to 2.00 Conversion Utility Documentation
  98.  
  99.  
  100. SETTING UP "YOUR VOTE COUNTS" DOOR
  101.  
  102.     This door is relatively easy to set up; that is, easier to set up than
  103.     Windows.  This door does require you to be DOS-literate.  Here's a
  104.     list of steps:
  105.  
  106.     1.  First, create a directory in which all files from the archive will
  107.         be placed.  Such as: C:\BBS\DOORS\YVC.
  108.  
  109.     2.  Unarchive the compressed files into this directory.
  110.  
  111.     3.  Change to said directory.
  112.  
  113.     4.  Set up the configuration file (see "CONFIGURATION FILE" below).
  114.  
  115.     5.  Set up your BBS software to use this door, using a menu command or
  116.         adding the door however your software handles it.  Every software
  117.         package approaches this differently, so your best bet is to read
  118.         its documentation.
  119.  
  120.     6.  Load your BBS and do a local logon to the door, or use the LOCAL
  121.         parameter (discussed below).
  122.  
  123.     7.  Add some polls which you'd like your users to vote on.
  124.  
  125.     8.  Exit the door.
  126.  
  127.  
  128.  
  129. CONFIGURATION FILE
  130.  
  131.     Using a text editor, bring up for editing the file named YVC.CFG, which is
  132.     the default name for the configuration file.  You may rename it if you
  133.     wish.
  134.  
  135.     You'll see the default file:
  136.  
  137.        USERPOLLS       YES
  138.        SYSOPNAME       Tony Bonillo
  139.        NODE            1
  140.        EXITFILEPATH    C:\BBS\DOORS\YVC
  141.        EXITFILETYPE    DORINFO
  142.        UPDATEBULLETINS YES
  143.        LOGUSERVOTES    YES
  144.        BBSNAME         Modem XChange
  145.        POLLFILENAME    YVC
  146.  
  147.     The format of each line of the config file is:
  148.  
  149.        <option> <setting>
  150.  
  151.        there must be one or more spaces in between the option and the setting
  152.        (not an = sign, just spaces).
  153.  
  154.        The order of options and their existence doesn't really matter
  155.        (except for SYSOPNAME and BBSNAME).
  156.  
  157.     Here are the details on each option:
  158.  
  159.  
  160.        BBSNAME                         (Default = '')
  161.  
  162.            This option defines the name of your BBS, to be shown when the
  163.            door is registered.  This option MUST exist.
  164.  
  165.  
  166.        BULLPATH                        (Default = Current Directory)
  167.  
  168.            This is the path where the bulletin files (*.ASC and *.ANS) will
  169.            be written.   If not specified, current directory is assumed.
  170.  
  171.  
  172.        EXITFILEPATH                    (Default = Current Directory)
  173.  
  174.            This is the path where the door will look for the BBS door exit
  175.            file.  You may add a trailing backslash if you wish, but it
  176.            doesn't matter.  The default is the current directory.
  177.  
  178.            Note that this is NOT the directory where your poll and user
  179.            data files will be stored or retrieved; that is always the
  180.            current directory.
  181.  
  182.  
  183.        EXITFILETYPE                    (Default = DORINFO)
  184.  
  185.            This option tells the door what door exit file (drop file) to
  186.            look for in the path specified by EXITFILEPATH. If your BBS
  187.            doesn't create one of the following, look into finding
  188.            DoorMaster or QKDoor programs, which convert many different door
  189.            file types to the following formats. If you cannot locate these,
  190.            you are out of luck.
  191.  
  192.            The setting should be:
  193.  
  194.                DORINFO    for DORINFOx.DEF.  The x will be filled in with
  195.                           the value of NODE (see above).  This file is
  196.                           produced by QuickBBS, RBBS, RemoteAccess,
  197.                           SuperBBS, Ezycom, and others.
  198.  
  199.                DOOR       for DOOR.SYS. This file is produced by GAP,
  200.                           PCBoard, Wildcat v3.xx, and others.
  201.  
  202.                CALLINFO   for CALLINFO.BBS.  This file is produced by
  203.                           Wildcat versions 1.xx and 2.xx.
  204.  
  205.                SFDOORS    for SFDOORS.DAT.  This file is created by
  206.                           Spitfire.
  207.  
  208.  
  209.        LOGUSERVOTES                    (Default = NO)
  210.  
  211.            Most of what a user does is recorded in the log file YVC.LOG;
  212.            this option adds recording of what users vote for.  If set to
  213.            YES, users' votes will be recorded in the log file.  If set
  214.            to NO, the votes will not be logged.
  215.  
  216.  
  217.        NODE                            (Default = 1)
  218.  
  219.            This isn't presently a multi-node door, meaning it can be used
  220.            by just one node at a time.  If a node number is not specified
  221.            here, 1 will be assumed.
  222.  
  223.            Multinode support is being worked on.  I am studying and search-
  224.            ing for methods in which to accomplish this in Turbo Pascal.  If
  225.            anyone has any suggestions, please notify me.
  226.  
  227.  
  228.        POLLFILENAME                    (Default = 'YVC')
  229.  
  230.            This option, active only in the registered version, allows you
  231.            to specify different filename prefixes in order to create
  232.            multiple poll and user files.
  233.  
  234.            This setting must be a 1-6 character filename.  This setting
  235.            will have .POL and .USR appended to it, and will be used to
  236.            store poll and user data.  So if you wanted to have a set of
  237.            polls of "general interest", you could use:
  238.  
  239.                POLLFILENAME GENINT
  240.  
  241.            would create GENINT.USR and GENINT.POL.  When bulletins are
  242.            created, GENINT##.ASC and GENINT##.ANS filenames are used.
  243.            And in another *.CFG file, you could have a different setting
  244.            for POLLFILENAME.  So, to have multiple poll files you do need
  245.            multiple configuration files.  This is because you may want to
  246.            have each poll have its own settings concerning bulletins, path,
  247.            etc.
  248.  
  249.            An example:  you have younger users that are not interested in topics
  250.            of politics, etc.  You could set up separate polls for your adult
  251.            and younger users.
  252.  
  253.  
  254.        SYSOPNAME                       (Required)
  255.  
  256.            This, obviously, is the system operator's name.  Some door exit
  257.            files such as DORINFOx.DEF supply the sysop's name; others do
  258.            not.  This option is here to make sure the sysop's name is known
  259.            so that only this person can delete polls and other sysop-only
  260.            functions.  This option MUST be specified.  And when you register
  261.            the door, the name that appears here must be the same as the one
  262.            on the order form you send in.
  263.  
  264.  
  265.        UPDATEBULLETINS                 (Default = NO)
  266.  
  267.            This option determines whether or not updated bulletins containing
  268.            the results of the polls will be created when the user quits the
  269.            door.  They will be created in the directory from which the door is
  270.            executed. Their filenames are in the format <pollfilename>##.ASC
  271.            (No Color) and <pollfilename>##.ANS (ANSI Color), where ## is the
  272.            number of the poll.  <pollfilename> is the setting specified in
  273.            the POLLFILENAME variable.
  274.  
  275.            This can take a lot of time if there are a lot of polls.  Because
  276.            of this, there is also the option to use a command line parameter
  277.            to specify that you want to create the bulletins (this parameter is
  278.            independent of this config command), so that the bulletins can be
  279.            created during an event, for example.
  280.  
  281.            Bulletins may only be created in the registered version.
  282.  
  283.  
  284.        USERPOLLS                       (Default = NO)
  285.  
  286.            The setting should be 'YES' or 'TRUE' (no quotes) if you want
  287.            users to be able to add their own polls.  If this is not set to
  288.            YES or TRUE, they will not be allowed.
  289.  
  290.            The sysop is always allowed to add polls.
  291.  
  292.            This feature is available in the registered version only.
  293.  
  294.  
  295.  
  296. THE COMMAND LINE
  297.  
  298.     There are two types of command lines.  Each is treated differently. The
  299.     formats are as follows:
  300.  
  301.       YVC [LOCAL] [ConfigFileName]
  302.  
  303.                - OR -
  304.  
  305.       YVC /BULLS <SysopFirstName> <SysopLastName> <PollFileName> [BullPath]
  306.  
  307.  
  308.  
  309.     1. YVC [LOCAL] [ConfigFileName]
  310.  
  311.        In this command line type, YVC accepts zero, one or two command line
  312.        parameters.  The first is either "LOCAL" (no quotes and case
  313.        insensitive) or the name of the configuration file from which to
  314.        read the setup information.  If "LOCAL" is used, then the second
  315.        parameter will specify the configuration file's name.  If "LOCAL" or
  316.        another config file name is NOT specified, YVC.CFG will be used.
  317.        Also, if "LOCAL" alone is specified, the filename of the config file
  318.        being used will be YVC.CFG.
  319.  
  320.        Examples:
  321.  
  322.          YVC LOCAL                Loads Local Mode; uses YVC.CFG
  323.  
  324.          YVC LOcAl                Also loads local mode; uses YVC.CFG
  325.  
  326.          YVC LOCAL TEST.CFG       Also loads local mode; uses TEST.CFG
  327.  
  328.          YVC                      Reads YVC.CFG to determine which
  329.                                   exit file is being used.
  330.  
  331.          YVC OTHER.CFG            Reads OTHER.CFG to determine which
  332.                                   exit file is being used.
  333.  
  334.  
  335.     2. YVC /BULLS <SysopFirstName> <SysopLastName> <PollFileName> [BullPath]
  336.  
  337.  
  338.        This option is available even without a config file of any sort.
  339.  
  340.        What this does is instructs the door to create the result bulletins
  341.        without loading the door.  The config command UPDATEBULLETINS
  342.        specifies that the bulletins will be updated as the user exits the
  343.        door, taking a lot of time if there are a lot of polls.  This option
  344.        allows the bulletins to be created offline (usually during nightly
  345.        maintenance), so the user doesn't have to wait so long.  This will
  346.        update the bulletins regardless of the setting of UPDATEBULLETINS.
  347.  
  348.        This type of command line is available only to registered users.
  349.        This type accepts 4 parameters, 3 of which must be specified.
  350.  
  351.        The first is "/BULLS" (no quotes).  The second is the sysop's first
  352.        name as registered. The third is the sysop's last name as
  353.        registered.
  354.  
  355.        The fourth paramater is the 1-6 character filename of the poll to use.
  356.        It is the equivalent of the setting of POLLFILENAME in the
  357.        configuration options.  The bulletin files will be output in the format
  358.        [PollFileName]xx.A?? in the current directory, where xx is the number
  359.        of the poll 1-99, and ?? specifies ANSi (color) or ASCii (no color)
  360.        output.
  361.  
  362.        The fifth parameter is optional.  It specifies the directory in which
  363.        to output the bulletin files.  The current directory will be assumed,
  364.        if another directory is not specified.
  365.  
  366.        You may press a key to abort the bulletin creation.
  367.  
  368.        Available in version 2.00 is a file that allows you to specify which
  369.        bulletins to print.  Its name must be in the format <pollfilename>.BUL.
  370.        It consists of one line of numbers:
  371.  
  372.            1 2 3 10 13 37
  373.  
  374.          With the above *.BUL file, only bulletins 1, 2, 3, 10, 13, and 37
  375.          will be created.
  376.  
  377.        If a *.BUL file for a specified poll file does not exist, all
  378.        bulletins will be produced.
  379.  
  380.        Please see accompanying file DOBULLS.BAT for a sample batch file to
  381.        create the bulletins and move them to your text file directory.
  382.  
  383.  
  384. PROBLEM USERS
  385.  
  386.     With allowing users to enter polls, there are bound to be some
  387.     instances of abuse.  Therefore, there is a feature that allows
  388.     you to specify a list of users who cannot enter polls.  The
  389.     format of the filename is <pollfilename>.BAD.  An example:
  390.  
  391.        John Doe
  392.        Bob Smith
  393.        Dan Dilbert
  394.  
  395.      In this example, none of the above users would be allowed to enter
  396.      polls.
  397.  
  398.  
  399. STATUS LINE AND FUNCTION KEYS
  400.  
  401.     When the door is invoked, you'll see a status line at the bottom of the
  402.     screen (if you don't, we need to talk <grin>).  It will have a few
  403.     tidbits of user information as well as the name of the door.
  404.  
  405.     Pressing [F1] will show a summary of the available keys on the status
  406.     line.  Here's a list:
  407.  
  408.        Alt-H: Hang up on user and exit door
  409.        Alt-X: Exit the door
  410.        F2   : Show Main status line (Name, baud, etc).    (Default)
  411.        F3   : Alternate status line #1
  412.        F4   : Alternate status line #2
  413.        Up   : Increase user's time limit by one minute
  414.        Down : Decrease user's time limit by one minute
  415.        PgUp : Increase user's time limit by five minutes
  416.        PgDn : Decrease user's time limit by five minutes
  417.        F10  : Invokes chat mode. Note that this is a simple chat mode
  418.               intended for quickly solving problems the user is having.
  419.               This is not intended for long term chats.  It does not
  420.               have word wrap, or any other nice features.
  421.  
  422.  
  423. LOG FILE
  424.  
  425.     The log file is designed to give you an idea of what your users are
  426.     doing.  Most of the main things users do will be recorded.  There is
  427.     also a config option that will determine whether the things users vote
  428.     for are recorded in the log file.  I have this option because I tend to
  429.     have many political polls and I don't want to know who votes for what.
  430.     You, however, may have other types of polls, or you may WANT TO KNOW
  431.     who voted for what. (See LOGUSERVOTES config command above.) The log
  432.     file is named YVC.LOG.
  433.  
  434. ERRORS
  435.  
  436.     If an error occurs, it will be recorded in a file called ERROR.LOG. If
  437.     the error cannot be tracked to you (such as you had a missing file),
  438.     please consider writing a letter to me describing the problem so that
  439.     it can be fixed.  Or if you have enough money to call long distance,
  440.     you could leave a message on my board.
  441.  
  442.  
  443. HOW THE DOOR WORKS: A BRIEF SYNOPSIS!
  444.  
  445.     When the door is loaded, the user is shown the main menu.  The choices
  446.     are to vote, to see the results of polls, to add their own poll, or to
  447.     quit.  If the user is the sysop, an option to do sysop functions is
  448.     also presented.
  449.  
  450.     If the user chooses to vote, they're shown a list of the polls from which
  451.     they may choose.  They enter the number and are then shown the choices and
  452.     asked for the number of the choice they want to vote for. If they've
  453.     already voted on a poll, they are asked whether they'd like to change
  454.     their vote.  If they would rather not vote, the option of "No Opinion" is
  455.     offered, also. After this, they are asked whether they want to see the
  456.     results of the poll (updated with their choice).
  457.  
  458.     If the user chooses to see results, they are presented with three
  459.     choices of how to see the results: by sex, by age group, or to just see
  460.     the total results.  If they choose to see it by sex or age group, they
  461.     are shown the results of just those people. So if they wanted to see
  462.     just how females voted, they choose female and they are shown the total
  463.     number of females and how they have voted.
  464.  
  465.     If the user chooses to Add or Modify a poll, they're given two choices:
  466.     Add or Modify.  Users are only allowed to modify polls they have
  467.     created (however, the sysop can modify anyone's for whatever reason;
  468.     spelling, etc ..).  When adding, they'll be asked for:
  469.  
  470.           - The summary or category of the question,
  471.           - the full text of the question (2 lines),
  472.           - up to 20 choices per poll,
  473.           - whether to save what they have entered.
  474.     When modifying, the same process is followed, but they may just press
  475.     enter to keep an option, the summary or the question the same. Also,
  476.     '-' quits editing of the choices when modifying.  If modifying, the
  477.     user will be asked whether to reset the poll.  This is for instances
  478.     in which poll choices have been reordered and the user file would not
  479.     correspond correctly to the poll file.
  480.  
  481.     If the user is the sysop, they can choose [S]ysop Functions.  At
  482.     present the only function is to delete a poll.  If you choose to delete
  483.     a poll, the poll file will be updated, as will the user's voting
  484.     records. It's always a good idea, though, to keep a backup of the data
  485.     files. The user file is *.USR and the poll data file is *.POL, the *
  486.     representing the setting of the POLLFILENAME variable.
  487.  
  488.     Also, you may delete *.USR and *.POL if you wish to re-start with
  489.     new polls and new user file.  If you delete either file, make sure to
  490.     delete the other: they work together.
  491.  
  492.  
  493. SUPPORT
  494.  
  495.     You can always download the latest copy of "Your Vote Counts" on my
  496.     board:
  497.  
  498.          Modem XChange
  499.          (503)371-4241
  500.          300-2400 baud  (Ugh, I know...)
  501.  
  502.     If you have any bugs or such, please call my board and report them.
  503.  
  504. [EOF]
  505.